function bgPreviewControls_SelectionChangeFcn(bg, e)
%BGPREVIEWCONTROLS_SELECTIONCHANGEFCN Summary of this function goes here
%   Detailed explanation goes here
    handles= guihandles(bg);

    switch e.NewValue
        case handles.pbStart, pbStart_Callback(handles.pbStart, []);
        case handles.pbStop, pbStop_Callback(handles.pbStop, []);
    end
end

